package com.qfjy.service.impl.example4;


import lombok.extern.slf4j.Slf4j;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class ScanServiceImpl {

    /**
     * #TODO 微信服务器
     */
    @RabbitListener(queues = {"weixinScanQueue"})
    public void weixinScan( String balance){
        log.info("微信支付服务器---》{}",balance);
    }

    /**
     * #TODO 支付宝服务器
     */
    @RabbitListener(queues ="zhifubaoScanQueue")
    public void zhifubaoScan( String balance){
        log.info("支付宝支付服务器---》{}",balance);
    }
}
